package com.lin.manager.tool.service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author linjiang
 * @date 2024/5/19
 * @fn
 */
public interface GeneratorCodeService {
    /**
     * @param operate  | 1-下载，2-预览
     * @param tableId  | 业务表id
     * @param response
     */
    Map<String, String> genByTableId(Integer operate, Integer tableId, HttpServletResponse response);

    Map<String, String> previewByTableId(Integer operate, Integer tableId);

    void genManyByTableId(List<Integer> tableIds, HttpServletResponse response);
}
